package com.wondersgroup.fjzlpt.yyzyzx.controller.view.yyzycx;

import com.alibaba.fastjson.JSONObject;
import com.wondersgroup.fjzlpt.yyzyzx.util.ControllerUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 号源信息查询
 * <p>
 * <p>
 * Created by sanma on 2017/8/2.
 */
@Controller
@RequestMapping("/hyxxcx")
public class HyxxController {

    /**
     * 患者信息列表查询页面
     * @param request
     * @return
     */
    @RequestMapping("/index.html")
    public String index(HttpServletRequest request) {
        JSONObject requestData = ControllerUtils.getRequestData(request);
        request.setAttribute("requestData", requestData);
        return "yyzycx/hyxxcx/index";
    }

}
